package com.kingyun.gpsinspection.purificationservice.services.jsm.outerservice.impl;

import com.kingyun.gpsinspection.purificationservice.dao.mapper.jsm.EntityTypePropertyMapper;
import com.kingyun.gpsinspection.purificationservice.facade.model.jsm.EntityTypeProperty;
import com.kingyun.gpsinspection.purificationservice.facade.service.jsm.OutEntityTypePropertyService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * Created by huangxueqian on 2017/2/13/013.
 */

public class OutEntityTypePropertyServiceImpl implements OutEntityTypePropertyService {

    @Autowired
    private EntityTypePropertyMapper entityTypePropertyMapper;

    /**
     * 根据生产实体类型Id 和 关键字搜索
     * @param entityTypeId
     * @return
     */
    @Override
    public List<EntityTypeProperty> entityTypePropertyList(String entityTypeId) {
        List<EntityTypeProperty> entityTypeProperties = entityTypePropertyMapper.outQueryList(entityTypeId);
        return entityTypeProperties;
    }


}
